﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Microsoft.Practices.Prism.Commands;
using Microsoft.Practices.Prism.Mvvm;

namespace FM.播音.录播.ViewModels
{
    public class 菜单ViewModel : BindableBase
    {
        public 菜单ViewModel()
        {
            退出 = new DelegateCommand<object>(退出Action);
        }
        public ICommand 登录 { get; set; }

        public ICommand 退出 { get; set; }

        private void 退出Action(object obj)
        {
            Application.Current.Shutdown();
        }
    }
}
